package com.tql.mall.product.client.impl;

import com.tql.mall.common.result.R;
import com.tql.mall.model.product.BaseAttrInfo;
import com.tql.mall.model.product.SkuInfo;
import com.tql.mall.model.product.SpuPoster;
import com.tql.mall.model.product.SpuSaleAttr;
import com.tql.mall.product.client.ProductFeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.multipart.MultipartFile;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @Author: tyk
 * @Date: 2023/5/22 20:27
 * @Description:
 */
@Component
public class ProductDegradeFeignClient implements ProductFeignClient {
    @Override
    public SkuInfo getSkuInfo(Long skuId) {
        return null;
    }

    @Override
    public BigDecimal getSkuPrice(Long skuId) {
        return null;
    }

    @Override
    public List<SpuSaleAttr> getSpuSaleAttrList(Long skuId, Long spuId) {
        return null;
    }

    @Override
    public Map<String, Long> getSkuValueIdsMap(Long spuId) {
        return null;
    }

    @Override
    public List<SpuPoster> getSpuPosterList(Long spuId) {
        return null;
    }

    @Override
    public List<BaseAttrInfo> getBaseAttrInfoList(Long skuId) {
        return null;
    }


    @PostMapping("img")
    public R imgUpload(MultipartFile file) {
        return null;
    }
}
